package com.example.safeassistan.base;

import android.app.Application;
import android.content.Context;

import com.example.safeassistan.utile.ActivityStackUtil;


public class MyApp extends Application {

    public static Context context;
    @Override
    public void onCreate() {
        super.onCreate();
        context = this;
        //activity滑动返回
        ActivityStackUtil.getInstance().init(this);
        //友盟分享初始化
//        UMConfigure.init(context, Constants.UM_APP_ID
//                ,"umeng", UMConfigure.DEVICE_TYPE_PHONE,"");
//        UMConfigure.setLogEnabled(true);
//        //qq
//        PlatformConfig.setQQZone(Constants.QQ_APP_ID, Constants.QQ_APP_kEY);
//        //微信
//        PlatformConfig.setWeixin(Constants.APP_ID, Constants.SECRET);
    }

}